home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _DE927D3E87594BD3B63900AFBB3A7831 < prev    next >
Encoding:
Text File  |  2004-03-17  |  741 b   |  40 lines

  1. shader()
  2. {
  3.     cull("none")
  4.     sortweight("sprite")
  5.  
  6.     pass()
  7.     {
  8.         pixelshader("ColorGlowApply.psh")
  9.  
  10.         // blurred glow
  11.         tmu()
  12.         {
  13.             texture()
  14.             {
  15.                 mapchannel(0)
  16.                 usermap(0)
  17.  
  18.                 addressfunc("clamp", "clamp", "clamp")
  19.                 filtering("linear_no_mip")
  20.             }
  21.         }
  22.  
  23.         // original buffer
  24.         tmu()
  25.         {
  26.             texture()
  27.             {
  28.                 mapchannel(0)
  29.                 usermap(1)
  30.  
  31.                 addressfunc("clamp", "clamp", "clamp")
  32.                 filtering("linear_no_mip")
  33.             }
  34.         }
  35.         depthfunc("always", 0)
  36.         nofog()
  37.     }
  38. }
  39.  
  40.